import React from 'react';
import { Form, Input } from 'antd';

const Content = React.forwardRef((props, ref) => {
  return (
    <Form
      ref={ref}
      labelCol={{ span: 6 }}
      wrapperCol={{ span: 16 }}
      layout="horizontal">
      <Form.Item
        name='name'
        label='角色名称：'
        rules={[{ required: true, message: '角色名称不能为空' }]}>
        <Input placeholder='请输入角色名称' />
      </Form.Item>
      <Form.Item
        name='describe'
        label='角色描述：'>
        <Input.TextArea placeholder='请输入描述' />
      </Form.Item>
      {/* <Form.Item
        name='isInner'
        label='是否内置'
        valuePropName="checked"
        style={{ marginBottom: 24 }}>
        <Switch />
      </Form.Item> */}
    </Form>
  )
})

export default Content